<?php

require 'header.php';
if (!isset($_SESSION['clearance']) || $_POST['editprompt'] == "")
	exit ;
if ($_SESSION['clearance'] != admin)
	exit ;
require 'DAO.php';
$con = new connection();
$post = $con -> postPage($_POST['editprompt']);
header('Location: index.php');
?>